package com.carrey.dongyoufa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.carrey.dongyoufa.dao.ChannelDao;
import com.carrey.dongyoufa.entity.Category;
import com.carrey.dongyoufa.service.CategoryService;
@Service
public class CategoryServiceImpl implements CategoryService{

	@Autowired
	private ChannelDao channelDao;
	
	@Override
	public List<Category> getCategorysByChannelId(Integer channelId) {
		
		return channelDao.getCategorysByChannelId(channelId);
	}

}
